package com.yili.oa.config;


/**
 * @author lxr
 * 解决版本不能自动注入sqlSessionFactory跟sqlSessionTemplate
 */
/*
@Configuration
public class MyBatisConfig implements TransactionManagementConfigurer {


    @Autowired
    private DataSource dataSource;

    @Override
    public PlatformTransactionManager annotationDrivenTransactionManager() {
        return new DataSourceTransactionManager(dataSource);
    }
}*/
